package com.twinkle.model;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @title: PreviewDataResultUI
 * @description:
 * @author: Paul
 * @date: 2023/3/16 16:27
 */

@Data
public class PreviewDataResultUI {
    /**
     * 自增id
     */
    private int id;
    private String modelId;
    private String algoName;
    private String param;
    private String appName;
    private String info;
    private String describ;
    private List<String> trainCols;
    private List<JSONObject> modelData;
    /**
     * 需求创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /**
     * 需求创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private int duration;
}
